import request from '@/utils/request'

export function login(data) {
  return request.post('/sys/login', data)
  // console.log(res)
  // return res.data
}

export function getInfo() {
  return request.post('/sys/profile')
}

export function getDetailUser(id) {
  return request.get('/sys/user/' + id)
}

export function logout() {

}
